package com.itheima.overLoad;

public class Demo1OverLoad {
    public static void main(String[] args) {
        System.out.println(compare(20.0, 20.0));
    }

    public static boolean compare(int a, int b) {
        return a == b;
    }

    public static boolean compare(double a, double b) {
        return a == b;
    }

    public static boolean compare(byte a, byte b) {
        return a == b;
    }

    public static boolean compare(short a, short b) {
        return a == b;
    }
}
